package com.xu.jz.dao;

import com.xu.jz.bean.Role;
import com.xu.jz.bean.RoleExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface RoleMapper {
    
    long countByExample(RoleExample example);

    
    int deleteByExample(RoleExample example);

    
    int deleteByPrimaryKey(Long id);

    
    int insert(Role record);

    
    int insertSelective(Role record);

    
    List<Role> selectByExample(RoleExample example);

    
    Role selectByPrimaryKey(Long id);

    
    int updateByExampleSelective(@Param("record") Role record, @Param("example") RoleExample example);

    
    int updateByExample(@Param("record") Role record, @Param("example") RoleExample example);

    
    int updateByPrimaryKeySelective(Role record);

    
    int updateByPrimaryKey(Role record);
}